<template>
	<view class="panel">
		<view style="height: 116upx;">
			<view class="title">
				{{ title }}
			</view>

			<view class="right">
				<slot name="right">
				</slot>
			</view>
		</view>
		<view class="content">
			<slot name="content" class="content">
			</slot>
		</view>
	</view>
</template>

<script>
	export default {
		name: "Card",
    props:['title'],
		data() {
			return {

			}
		},


	}
</script>

<style scoped lang="scss">
	.panel {
		position: relative;
		background: #fff;
		// padding-bottom: 40upx;
		margin: 10px 0;
		min-height: 290upx;

		.title {
			position: absolute;
			font-size: 17px;
			font-weight: 800;
			top: 41upx;
			left: 30upx;
		}

		.right {
			position: absolute;
			right: 30upx;
			top: 46upx;
			color: #3489FF;
		}

		.content {
			width: 100%;
			// position: absolute;
			// top: 116upx;
			
		}
	}
</style>
